package com.github.ecbp.user.service.service;


import com.github.ecbp.common.data.service.BaseService;
import com.github.ecbp.common.req.BaseIdDTO;
import com.github.ecbp.user.service.dto.ResourceDto;
import com.github.ecbp.user.service.entity.TResource;
import com.github.ecbp.user.service.response.ResourceRes;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 后台资源表 服务类
 * </p>
 *
 * @author zj2626
 * @since 2020-03-18
 */
public interface ResourceService extends BaseService<TResource> {

    List<ResourceRes> listAllData();

    List<ResourceRes> listByPermissionId(BaseIdDTO param);

    Boolean saveInfo(ResourceDto resourceDTO);

    Set<ResourceRes> listAll();
}
